package com.example.demo.config.properties;/**
 * Created by kete on 2017-12-18.
 */

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 作者：kete
 * 创建时间：2017-12-18 9:58
 * 功能描述：
 * 版本：
 */
@Component
@ConfigurationProperties(prefix = "email")
public class EmailProperties {

    private String hostName="smtp.exmail.qq.com";

    private String smtpPort = "25";

    private String from ="kete@ebidding.net.cn";

    private String username = "kete@ebidding.net.cn";

    private String password= "Kao51538043";

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getHostName() {
        return hostName;
    }

    public void setHostName(String hostName) {
        this.hostName = hostName;
    }

    public String getSmtpPort() {
        return smtpPort;
    }

    public void setSmtpPort(String smtpPort) {
        this.smtpPort = smtpPort;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
